package com.lcj.dr.service;

import com.github.pagehelper.PageInfo;
import com.lcj.common.util.Result;
import com.lcj.dr.controller.form.DriverFineForm;
import com.lcj.dr.controller.form.SearchFineForm;
import com.lcj.dr.db.pojo.DriverFineEntity;

public interface DriverFineService {

    /**
     * 新增或更新司机罚款
     * @param form
     * @return
     */
    Integer addOrUpdate(DriverFineForm form);

    /**
     * 删除司机罚款
     * @param form
     * @return
     */
    Integer deleteFine(DriverFineForm form);

    /**
     * 查询司机罚款
     * @param form
     * @return
     */
    PageInfo<DriverFineEntity> selectPage(SearchFineForm form);
}
